package com.bookmanger.entity.dto;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author huangfuhao
 * @Date 2024/10/28
 */
@Data
public class ManagerDTO {
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;//分类id
    private String username;//用户名
    private String password;//密码
    private String email;//邮箱
    private LocalDateTime updateTime;//创建时间
    private String accessToken;//token
    private String refreshToken;//废token
    private String expires = "2030/10/30 00:00:00";//过期时间
}
